﻿#ifndef STATISTICSENTITY_H
#define STATISTICSENTITY_H
#include <QJsonObject>
#include <QString>
#include "ISerializable.h"
#include <IDatabase.h>
class StatisticsEntity : public ISerializable
{
public:
    StatisticsEntity();

    // ISerializable interface
public:
    virtual QVariant toVariant() const override;
    virtual void fromVariant(const QVariant &variant) override;

public:
    QString mId;//记录id
    QString mDate;//统计数据日期 唯一
    QJsonObject mData;//统计数据
};

#endif // STATISTICSENTITY_H
